package com.sss.hloster04;

import java.util.Scanner;

public class HeapTest {

	public static void main(String[] args) {
		int[] a = {44,51,12,78,33,11,13,91,10,2,75,63,};
		HeapSort h = new HeapSort(a);
	}

	private static int[] array() {
		Scanner sc = new Scanner(System.in);
		System.out.println("请输入数组元素个数：");
		int sum = sc.nextInt();
		int[] arr = new int[sum];
		// 初始化数组
		for (int i = 0; i < sum; i++) {
			System.out.println("请输入数组的第 " + (i + 1) + "个元素：");
			int input = sc.nextInt();
			arr[i] = input;
		}
		return arr;
	}
}
